package io.e2x.testground.fruitstore.service;

import io.e2x.testground.fruitstore.dal.entities.Store;
import io.e2x.testground.fruitstore.dal.entities.StoreSpu;
import io.e2x.testground.fruitstore.dal.entities.User;
import io.e2x.testground.fruitstore.data.BillDTO;
import io.e2x.testground.fruitstore.data.Coupon;
import reactor.core.publisher.Mono;

import java.util.List;

public interface TradeService {
    Mono<BillDTO> trade(Store store, User user, List<StoreSpu> storeSpus, Coupon coupon);
}
